package com.inossem.warehousestorage_inossem.bean.inventory;

import com.inossem.warehousestorage_inossem.bean.common.BeanNew;

import java.util.List;

/**
 * Created by Administrator on 2017/8/31 0031.
 */
public class InventoryAreaBean extends BeanNew {

    private String factoryCode;
    private String inventoryAddressCode;
    private String inventoryVoucher;
    private String voucherType;
    private List<AreaListBean> body;

    public String getFactoryCode() {
        return factoryCode;
    }

    public void setFactoryCode(String factoryCode) {
        this.factoryCode = factoryCode;
    }

    public String getInventoryAddressCode() {
        return inventoryAddressCode;
    }

    public void setInventoryAddressCode(String inventoryAddressCode) {
        this.inventoryAddressCode = inventoryAddressCode;
    }

    public String getInventoryVoucher() {
        return inventoryVoucher;
    }

    public void setInventoryVoucher(String inventoryVoucher) {
        this.inventoryVoucher = inventoryVoucher;
    }

    public String getVoucherType() {
        return voucherType;
    }

    public void setVoucherType(String voucherType) {
        this.voucherType = voucherType;
    }

    public List<AreaListBean> getBody() {
        return body;
    }

    public void setBody(List<AreaListBean> body) {
        this.body = body;
    }

    public static class AreaListBean {
        /**
         * prefix : 001 01
         * area_id : 123
         * area_code : 001
         * current : 5
         * total : 5
         * position_list : [{"id":"123","position_id":"123","suffix":"10000","position_code":"01-10000","type":"0","status":"2"},{"id":"123","position_id":"123","suffix":"10000","position_code":"01-10000","type":"0","status":"2"},{"id":"123","position_id":"123","suffix":"10000","position_code":"01-10000","type":"0","status":"2"},{"id":"123","position_id":"123","suffix":"10000","position_code":"01-10000","type":"0","status":"2"}]
         */

        private String prefix;
        private String area_id;
        private String area_code;
        private String current;
        private String total;
        private List<PositionListBean> position_list;

        public String getPrefix() {
            return prefix;
        }

        public void setPrefix(String prefix) {
            this.prefix = prefix;
        }

        public String getArea_id() {
            return area_id;
        }

        public void setArea_id(String area_id) {
            this.area_id = area_id;
        }

        public String getArea_code() {
            return area_code;
        }

        public void setArea_code(String area_code) {
            this.area_code = area_code;
        }

        public String getCurrent() {
            return current;
        }

        public void setCurrent(String current) {
            this.current = current;
        }

        public String getTotal() {
            return total;
        }

        public void setTotal(String total) {
            this.total = total;
        }

        public List<PositionListBean> getPosition_list() {
            return position_list;
        }

        public void setPosition_list(List<PositionListBean> position_list) {
            this.position_list = position_list;
        }

        public static class PositionListBean {
            /**
             * id : 123
             * position_id : 123
             * suffix : 10000
             * position_code : 01-10000
             * type : 0
             * status : 2
             */

            private String id;
            private String position_id;
            private String suffix;
            private String position_code;
            private String type;
            private String status;
            private String item_id;

            public String getItem_id() {
                return item_id;
            }

            public void setItem_id(String item_id) {
                this.item_id = item_id;
            }

            public String getId() {
                return id;
            }

            public void setId(String id) {
                this.id = id;
            }

            public String getPosition_id() {
                return position_id;
            }

            public void setPosition_id(String position_id) {
                this.position_id = position_id;
            }

            public String getSuffix() {
                return suffix;
            }

            public void setSuffix(String suffix) {
                this.suffix = suffix;
            }

            public String getPosition_code() {
                return position_code;
            }

            public void setPosition_code(String position_code) {
                this.position_code = position_code;
            }

            public String getType() {
                return type;
            }

            public void setType(String type) {
                this.type = type;
            }

            public String getStatus() {
                return status;
            }

            public void setStatus(String status) {
                this.status = status;
            }
        }
    }
}
